<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" import="pojo.*,service.*,java.util.*,java.text.*"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>修改密码</title>
<script> 
function tiao(){
	location.href="../../website/updateInfor.jsp";
	};
	setTimeout(tiao,1000);
	</script>
</head>
<body>

<%
		request.setCharacterEncoding("utf-8");

		String sex = request.getParameter("sex");
		int s=Integer.parseInt(sex);
		String realname = request.getParameter("realname");
		String IDcard =request.getParameter("IDcard");
		
		String tel=request.getParameter("tel");
		String email=request.getParameter("email");
		String birthday=request.getParameter("birthday");
		String job=request.getParameter("job");
		int p=0;
		int i=Integer.parseInt(request.getParameter("id"));
	
		MemberService dms = new MemberService(); 
		
	    dms.getUpdateByid(s,realname,IDcard,tel,email,birthday,job,p,i);
	    out.print("修改成功");
	    
		 
%>


</body>
</html>
